/*
* @author:Cao Tongqin
* */
var accountNumber = 456789132 ;
window.onload = function () {
    accountNumber = document.cookie ;
    console.log(accountNumber) ;
    var vue = new Vue({
        el:"#wall-warp",
        data:{
            num : accountNumber,
        }
    })
};

function ReadCookie(cookieName) {
    let theCookie = "" + document.cookie ;
    let ind = theCookie.indexOf(cookieName) ;
    if (ind == -1 || cookieName == ""){
        return "" ;
    }
    let ind1 = theCookie.indexOf(';',ind);
    if (ind1 == -1)
        ind1 = theCookie.length;

    return unescape(theCookie.substring(ind+cookieName.length+1,ind1)) ;
}